/**
 * 21point
 *
 * outlook@China software studio
 * Copyright (c) 2008-2010. All Rights Reserved.
 * http://www.outlook.com
 */

package org.outlook.game.arithmetic;

/**
 * function:
 * @author Watson email: watson.wu@hotmail.com
 * @date 2011
 */
public class Mathematician {
	
	private static String arithmetic = null;
	
	public static boolean checkIfSumIs24(int[] nums) {
		NCalculateToM nCalculateToM = new NCalculateToM();
		final boolean flag = nCalculateToM.circule(nums);
		if(flag)
			arithmetic = nCalculateToM.getExpression()[0];
		return flag;
	}

	public static String getLast24Arithmetic() {
		return arithmetic;
	}

}
